package com.kuang.org.service;

import com.kuang.bascic.utils.PageList;
import com.kuang.org.domain.Department;
import com.kuang.org.domain.Employee;
import com.kuang.org.query.DepartmentQuery;
import com.kuang.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeService {
    //查询全部员工
    List<Employee> selectAllEmployee();
    //根据id查询员工
    Employee selectEmployeeById(Long id);
    //修改员工
    void UpdateEmployee(Employee employee);
    //增加员工
    void addEmployee(Employee employee);
    //删除员工
    void  deleteEmployeeById(Long id);
    //分页查询员工
    List<Employee> selectByPage(EmployeeQuery employeeQuery);
    //查询条数 以及条件查询员工
    Long selectCountAll(EmployeeQuery employeeQuery);
    // 批量删除
    void PatchDelete(List<Long> id);
}
